#include <iostream>
#include "library/program.h"

extern int yyparse();
extern AST::Program* program;

using namespace std;

int main(int argc, char **argv)
{
    int result = yyparse();
    if (argc > 1 && program != NULL) {
        cout << program->toString() << endl;
    }
    return result;
}

